assistant: pack the sidebar in a frame instead of an event box
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 18 May 2011 21:22:40 +0000 (17:22 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 19 May 2011 14:54:04 +0000 (10:54 -0400)
commit8301b24ee5a112917874c989d4f67ced644a071e
tree23a992d1a4ef625c37a1b6dba67f580505777aee
parent6bbb9d6f159f5175c6277cf3fbe2003e8f3c35fc
assistant: pack the sidebar in a frame instead of an event box

This has mostly two advantages:
- the most obvious one is the theme can render a border around the
  sidebar if it wants to.
- we also can avoid hardcoding a container border width for the sidebar,
  and just use a padding from the theme. This also allows different
  themes to define a different padding, etc.

The drawback is we must draw the background ourselves, but it's easy
enough.

https://bugzilla.gnome.org/show_bug.cgi?id=650530
gtk/gtkassistant.c